﻿using System;
using System.Collections.Generic;

namespace Resn.WhuPub.BIL
{
        /// <summary>
        ///定义经销商管理器的属性和方法
        /// </summary>
        public interface IDealerManager
        {
                #region 属性

                /// <summary>
                ///获取所有经销商集合
                /// </summary>
                /// <returns>
                ///所有经销商集合
                /// </returns>
                List<IDealer> Dealers { get; }

                #endregion 属性

                #region 方法

                /// <summary>
                /// 创建经销商
                /// </summary>
                /// <param name="name">名称</param>
                /// <param name="province">省份</param>
                /// <param name="city">城市</param>
                /// <param name="Postcode">邮编</param>
                /// <param name="registerAddress">注册地址</param>
                /// <param name="businessAddress">经营地址</param>
                /// <param name="contactName">联系人姓名</param>
                /// <param name="contactTelephone">联系人电话</param>
                /// <param name="contactFax">联系人传真</param>
                /// <param name="contactEmail">联系人电子邮箱</param>
                /// <returns>
                /// 返回创建的经销商对象
                /// </returns>
                IDealer CreateDealer(String name, string province, string city, string Postcode, string registerAddress, string businessAddress, string contactName, string contactTelephone, string contactFax, string contactEmail);

                

                #endregion 方法
        }
}